package com.dm.dao;

import com.dm.pojo.DmBaseeArea;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface DmBaseeAreaMapper {

	public DmBaseeArea getDmBaseeAreaById(@Param(value = "id") Long id)throws Exception;

	public List<DmBaseeArea>	getDmBaseeAreaListByMap(Map<String, Object> param)throws Exception;

	public Integer getDmBaseeAreaCountByMap(Map<String, Object> param)throws Exception;

	public Integer insertDmBaseeArea(DmBaseeArea dmBaseeArea)throws Exception;

	public Integer updateDmBaseeArea(DmBaseeArea dmBaseeArea)throws Exception;

	public Integer deleteDmBaseeAreaById(@Param(value = "id") Long id)throws Exception;

	public Integer batchDeleteDmBaseeArea(Map<String, List<String>> params);

}